package com.yidu.best.TA.Statistics.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.best.TA.Statistics.service.StatisticsService;

@Controller
@RequestMapping("/sys/")
public class StatisticsController {
	@Autowired
	private StatisticsService statisticsService;
	
	@RequestMapping("Statisticsmap")
	public String TaMap(){
		return "/sys/Ta/Statistics";
	}
	
	@ResponseBody
	@RequestMapping(value = "Statistics" )
	public Map<String, Object> selectfundVal(String fundId) {
		return statisticsService.selectfundVal("Q0000000000");
	}
}
